package fr.afcepf.ai89.esharing.metier;

import java.util.List;

import fr.afcepf.ai89.esharing.entity.Aem;
import fr.afcepf.ai89.esharing.entity.ImgAem;
import fr.afcepf.ai89.esharing.entity.Indisponibilite;
import fr.afcepf.ai89.esharing.entity.InvisibiliteAem;
import fr.afcepf.ai89.esharing.entity.PromotionAem;
import fr.afcepf.ai89.esharing.entity.PromotionParc;
import fr.afcepf.ai89.esharing.entity.Proprietaire;
import fr.afcepf.ai89.esharing.entity.Valeur;

public interface IBusinessGestionParcAem {

	int addAem(Aem aem);
	int majAem(Aem aem);
	int retirerAem(Aem aem);
	
	List<Aem> getMesAems(Proprietaire prop);
	
	List<Indisponibilite> getIndispos(Aem aem);
	
	int addIndispo(Indisponibilite indispo);
	int majIndispo(Indisponibilite indispo);
	int retirerIndispo(Indisponibilite indispo);

	List<InvisibiliteAem> getPeriodesInvis(Aem aem);
	
	int addInvisAem(InvisibiliteAem invisAem);
	int majInvisAem(InvisibiliteAem invisAem);
	int retirerInvisAem(InvisibiliteAem invisAem);
	
	int addImgAem(ImgAem imgAem);
	int majImgAem(ImgAem imgAem);
	
	int changerValeur(Valeur valeur);
	
	List<PromotionAem> getPromosAem(Aem aem);
	
	int promouvoirAem(PromotionAem promoAem);
	int majPromoAem(PromotionAem promoAem);
	
	List<PromotionParc> getPromosParc();
	
	int promouvoirParc(PromotionParc promoParc);
	int majPromoParc(PromotionParc promoParc);
	
}
